﻿using S.RBAC.Domain.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
using System.Threading.Tasks;

namespace S.RBAC.Infrastructure.Interface
{
    public interface IStaffRepository : IBaseRepository<Staff>
    {
        Task<int> AddStaff(Staff staff);

        Task<Staff> GetStaffInfo(Expression<Func<Staff, bool>> expre);

        Task<List<Staff>> GetAllStaff();

        Task<List<Staff>> GetStaffList(Expression<Func<Staff, bool>> expre);

        Task<int> UpdStaff(Staff staff);
    }
}
